<?php
$strTableName="certificate_of_origin_commercials";
$_SESSION["OwnerID"] = $_SESSION["_".$strTableName."_OwnerID"];

$strOriginalTableName="certificate_of_origin_commercials";

$gstrOrderBy="";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy="order by ".$gstrOrderBy;

$g_orderindexes=array();
$gsqlHead="SELECT id,   buyer_id,   account_id,   shipped_on,   shipment_date,   consigned_to,   sworn_to,   sworn_date,   chamber_of_commerce,   ref_id";
$gsqlFrom="FROM certificate_of_origin_commercials";
$gsqlWhereExpr="";
$gsqlTail="";

include(getabspath("include/certificate_of_origin_commercials_settings.php"));

// alias for 'SQLQuery' object
$gQuery = &$queryData_certificate_of_origin_commercials;
$eventObj = &$tableEvents["certificate_of_origin_commercials"];

$reportCaseSensitiveGroupFields = false;

$gstrSQL = gSQLWhere("");


?>